package com.tzl.design_pattern.decorator_pattern;

import java.math.BigDecimal;

/**
 * @author Zhilei Tang
 * @date Created in 2020/11/16 20:50
 */
public class BaseCake extends Cake {
  @Override
  public String getCakeMsg() {
    return "我是一个8英寸的普通蛋糕";
  }

  @Override
  public BigDecimal getPrice() {
    return new BigDecimal("23");
  }
}
